#ifndef FACEPIC_H
#define FACEPIC_H
#include <opencv2/opencv.hpp>
#include <opencv2/videoio/videoio.hpp>
#include <QPaintEvent>
#include <QTimer>
#include <QPainter>
#include <QPixmap>
#include <QLabel>
#include <QImage>
#include <QTimer>
#include <QMainWindow>

namespace Ui {
class facepic;
}

class facepic : public QMainWindow
{
    Q_OBJECT

public:
    explicit facepic(QWidget *parent = 0);
    ~facepic();


private slots:
    void on_openimage_clicked();

private:
    Ui::facepic *ui;
    QImage img;
    cv::Mat image_fliped;
};

#endif // FACEPIC_H
